package training.project.app.service;

import java.util.List;

import training.project.app.domain.Client;
import training.project.app.domain.Flight;
import training.project.app.domain.FlightClient;

public interface ClientService
	{
		Client loadUserByCredentials(String username, String password);

		Client getClientById(Integer id);

		void updateClient(Client client);
		
		void saveClient(Client client);

		void bookFlight(Flight flight, Client client);
		
		List<FlightClient> getFlightClients(Client client);
	}
